﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Web.WebPages.OAuth;
using AccountFlow.Models;

namespace AccountFlow
{
    public static class AuthConfig
    {
        public static void RegisterAuth()
        {
            // To let users of this site log in using their accounts from other sites such as Microsoft, Facebook, and Twitter,
            // you must update this site. For more information visit http://go.microsoft.com/fwlink/?LinkID=252166
   /*
             
            OAuthWebSecurity.RegisterMicrosoftClient(
                clientId: "",
                clientSecret: "");
         
New client secret is now active. 

Your application was created successfully, but it must be configured before you can use it. 
 If your app is a mobile or desktop client application, click "Yes" below.
 If your app is a web application, enter its Redirect domain. 

Client ID: 

000000004C110726
 This is a unique identifier for your application. 
Client secret (v2):  

DFE8tTQHT9xdtcRNSzRvZFhuoLK1UTAY 
 For security purposes, don't share your client secret with anyone.  

 Create a new client secret  






 Redirect domain: 
             */

            OAuthWebSecurity.RegisterTwitterClient(
                consumerKey: "0UK463JGnP7fHnDFzzWLJQ",
                consumerSecret: "xAh9P4QWyoWvMOTF4P5O3OW5yx8lB3Cs4NvzDLYQ");

            OAuthWebSecurity.RegisterFacebookClient(
                appId: "139275919608817",
                appSecret: "973967bd55f0543ca1627e1d3c8242f4"
                );

            OAuthWebSecurity.RegisterLinkedInClient(
                   consumerKey: "75vnz4rsvt6o3z",
                consumerSecret: "C5kApB8clh4oFmOt"
                );

            OAuthWebSecurity.RegisterGoogleClient();
        }

        /*
        

Linkedin Username: ahmed_tariq@dell.com
Password:nd9tbyio

Twiter username: ahmedatdell
Password: nd9tbyio

Klout- you can login using my twitter account

         * 
        */
        /*
      LinkedIN   Application Details
•         Company:
xzen
•         Application Name:
XZen App
•         API Key:
75vnz4rsvt6o3z
•         Secret Key:
C5kApB8clh4oFmOt
•         OAuth User Token:
905623a0-d741-41cd-a946-d88d2831a849
•         OAuth User Secret:
4cf529e6-426f-41ae-84e1-2568af348f4c

         */
    }
}
